fix typo and hopefully also pas2c
authorsheepluva
Fri, 16 Sep 2016 00:41:03 +0200
changeset 11854 bc5714636364
parent 11853 6a0d6b00dac8
child 11855 0025eb20d6f9
fix typo and hopefully also pas2c
ChangeLog.txt
hedgewars/uScript.pas
--- a/ChangeLog.txt	Fri Sep 16 00:22:05 2016 +0200
+++ b/ChangeLog.txt	Fri Sep 16 00:41:03 2016 +0200
@@ -8,7 +8,7 @@
 Game engine:
  + Improved hedgehog spawns on maps that lack land mass or free space
  + Highlander mode displays game scheme specifics (mines timer, etc.) in ESC info
- + Highlander mode gives visual and acustic feedback when weapons are collected from a kill, similar to collecting a crate
+ + Highlander mode gives visual and acoustic feedback when weapons are collected from a kill, similar to collecting a crate
  + AI hedgehogs can now use Bee and Vampirism
  + Divided Teams mode will now work with more than 2 teams (Hint: you probably want to set world edges to "wrap" in such games)
  + Fort Mode will now work with more than 2 teams
--- a/hedgewars/uScript.pas	Fri Sep 16 00:22:05 2016 +0200
+++ b/hedgewars/uScript.pas	Fri Sep 16 00:41:03 2016 +0200
@@ -2568,7 +2568,7 @@
         begin
         at:= LuaToAmmoTypeOrd(L, 1, call, params);                                                                                                   
         if at >= 0 then   
-            lua_pushstring(L, Str2PChar(trammo[Ammoz[TAmmoType(at)].NameId]));
+            lua_pushstring(L, PChar(trammo[Ammoz[TAmmoType(at)].NameId]));
         end
     else
         lua_pushnil(L);