Among many other changes from 20171105-6496 this adds support for Ion Fury. A new commercial Build engine game worked on by eduke32 developers. From maintainer Ryan Freeman with bits from solene@ and myself.
18 lines
747 B
Plaintext
18 lines
747 B
Plaintext
$OpenBSD: patch-source_duke3d_src_gamevars_h,v 1.1 2019/12/30 08:32:46 jsg Exp $
|
|
|
|
fix clang build
|
|
http://svn.eduke32.com/comp.php?repname=eduke32&compare[]=/@8494&compare[]=/@8495
|
|
|
|
Index: source/duke3d/src/gamevars.h
|
|
--- source/duke3d/src/gamevars.h.orig
|
|
+++ source/duke3d/src/gamevars.h
|
|
@@ -252,7 +252,7 @@ static FORCE_INLINE void __fastcall Gv_DivVar(int cons
|
|
{
|
|
case GAMEVAR_PERACTOR: iptr = &var.pValues[vm.spriteNum & (MAXSPRITES-1)]; goto jmp;
|
|
case GAMEVAR_PERPLAYER: iptr = &var.pValues[vm.playerNum & (MAXPLAYERS-1)]; fallthrough__;
|
|
- jmp: default: *iptr = libdivide_s32_do(*iptr, dptr); break;
|
|
+ default: jmp: *iptr = libdivide_s32_do(*iptr, dptr); break;
|
|
|
|
case GAMEVAR_INT32PTR:
|
|
{
|