Just two comments this time:

> Index: src/frontend.c
> ===================================================================
> --- src/frontend.c    (revision 358)
> +++ src/frontend.c    (working copy)
> @@ -70,7 +70,7 @@
>  extern void set_active_data_directory(int);
>  
>  extern CURSORSNAP InterfaceSnap;
> -extern void ProcessCursorSnap(VOID);
> +extern void ProcessCursorSnap(void);
>  
>  int StartWithGame = 1;       // New game starts in Cam 1.
>  

I remember reading something about VOID vs. void, but I can't recall
what it was...

> Index: lib/script/interp.c
> ===================================================================
> --- lib/script/interp.c       (revision 358)
> +++ lib/script/interp.c       (working copy)
> @@ -329,7 +329,7 @@
>                               case OP_FUNC:
>                                       //debug( LOG_SCRIPT, "-OP_FUNC" );
>                                       //debug( LOG_SCRIPT, "OP_FUNC: remember 
> event %d, ip=%d", CurEvent, (ip + 2) );
> -                                     if(!RetStackRemember(CurEvent, (ip + 
> 2)))       //Remember where to jump back later
> +                                     if(!RetStackRemember(CurEvent, *(ip + 
> 2)))      //Remember where to jump back later
>                                       {
>                                               debug( LOG_ERROR, 
> "interpRunScript() - RetStackRemember() failed.");
>                                               return FALSE;

I am not quite sure about that one... It compiles, but I have no idea
what it does and how it does it and if it still works.


_______________________________________________
Warzone-dev mailing list
Warzone-dev@gna.org
https://mail.gna.org/listinfo/warzone-dev

Reply via email to