Free Hero Mesh

Check-in [166412b059]
Login
This is a mirror of the main repository for Free Hero Mesh. New tickets and changes will not be accepted at this mirror.
Overview
Comment:Fix send_message so that it correctly skips sending if the message pointer is 0xFFFF, not zero
Downloads: Tarball | ZIP archive | SQL archive
Timelines: family | ancestors | descendants | both | trunk
Files: files | file ages | folders
SHA1: 166412b05985e007a471bcd3179b090986e3ff66
User & Date: user on 2020-12-02 00:39:14
Other Links: manifest | tags
Context
2020-12-02
05:41
Fix several mistakes in exec.c check-in: 646a69c999 user: user tags: trunk
00:39
Fix send_message so that it correctly skips sending if the message pointer is 0xFFFF, not zero check-in: 166412b059 user: user tags: trunk
2020-12-01
22:09
Add traceAll resource check-in: 165d3cd4f7 user: user tags: trunk
Changes

Modified exec.c from [d1ca262282] to [f9f43c43c4].

254
255
256
257
258
259
260
261

262
263
264
265
266
267
268
254
255
256
257
258
259
260

261
262
263
264
265
266
267
268







-
+







  MessageVars saved=msgvars;
  Uint16 c=objects[to]->class;
  Uint16 p=get_message_ptr(c,msg);
  Uint16*code;
  int stackptr=vstackptr;
  if(p==0xFFFF) {
    p=get_message_ptr(0,msg);
    if(!p) return NVALUE(0);
    if(p==0xFFFF) return NVALUE(0);
    code=classes[0]->codes;
  } else {
    code=classes[c]->codes;
  }
  msgvars=(MessageVars){msg,from,arg1,arg2,arg3};
  if(main_options['t']) {
    if(from==VOIDLINK || (classes[objects[from]->class]->cflags&CF_TRACEOUT)) {