shithub: rott

Download patch

ref: f9a44e0fd848105c5a2972755e4f58cc13d39630
parent: dd4980ea7342c1d832fb7812f493306c3a08812a
author: Marc-Alexandre Espiaut <marcalexandre@member.fsf.org>
date: Tue Jun 5 09:53:41 EDT 2018

Removing obsolete WATCOM code from rt_actor.h

--- a/rott/rt_actor.h
+++ b/rott/rt_actor.h
@@ -86,19 +86,7 @@
 #define ACTORSIZE              0x5800
 #define PWALLRAD               0xa000
 
-#ifdef __WATCOMC__
-int M_ABS(int value);
-#pragma aux M_ABS =  \
-		  "test eax,eax",                     \
-		  "jge done", \
-		  "neg eax",\
-		  "done: "         \
-		  parm    [eax] \
-		  value   [eax]           \
-		  modify exact [eax]
-#else
 #define M_ABS abs
-#endif
 
 #define M_CheckPlayerKilled(ob) \
 { if ((ob->obclass == playerobj) && (ob->flags & FL_DYING)) \
@@ -435,4 +423,4 @@
 
 void ResurrectEnemies();
 
-#endif
\ No newline at end of file
+#endif