hedgewars/uChat.pas
changeset 7291 ad4b6c2b09e8
parent 7188 580cd247511e
child 11317 62287d4044e7
--- a/hedgewars/uChat.pas	Mon Jun 25 10:44:27 2012 +0200
+++ b/hedgewars/uChat.pas	Mon Jun 25 11:47:40 2012 +0200
@@ -96,9 +96,7 @@
 SDL_FreeSurface(strSurface);
 
 cl.Time:= RealTicks + 12500;
-cl.Tex:= Surface2Tex(resSurface, false);
-
-SDL_FreeSurface(resSurface)
+cl.Tex:= Surface2Atlas(resSurface, false);
 end;
 
 // For uStore texture recreation