mirror of
https://git.code.sf.net/p/quake/quakeforge
synced 2025-01-29 12:10:48 +00:00
handle x % 0 by giving a 0 result
This commit is contained in:
parent
1a28ee2aaf
commit
ac67a50a9a
1 changed files with 5 additions and 0 deletions
|
@ -229,6 +229,11 @@ signal_hook (int sig, void *data)
|
|||
else
|
||||
OPC.integer_var = 0x7fffffff;
|
||||
return 1;
|
||||
case OP_MOD_I:
|
||||
case OP_MOD_U:
|
||||
case OP_MOD_F:
|
||||
OPC.integer_var = 0x00000000;
|
||||
return 1;
|
||||
default:
|
||||
break;
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue