Changeset 92


Ignore:
Timestamp:
Mar 7, 2008, 8:30:44 PM (10 years ago)
Author:
Sam Hocevar
Message:
  • Fix major/minor values in the LISP engine: it's the engine's version, not the software's.
File:
1 edited

Legend:

Unmodified
Added
Removed
  • abuse/trunk/src/clisp.cpp

    r87 r92  
    3232#include "netcfg.hpp"
    3333
    34 extern uint8_t major_version;
    35 extern uint8_t minor_version;
     34#define ENGINE_MAJOR 1
     35#define ENGINE_MINOR 20
     36
    3637extern int has_joystick;
    3738
     
    21382139    case 265 :
    21392140    {
    2140       return atoi(PACKAGE_VERSION);
     2141      return ENGINE_MAJOR;
    21412142    } break;
    21422143    case 266 :
    21432144    {
    2144       return atoi(strchr(PACKAGE_VERSION, '.') + 1);
     2145      return ENGINE_MINOR;
    21452146    } break;
    21462147    case 267 :
Note: See TracChangeset for help on using the changeset viewer.