]> git.jsancho.org Git - lugaru.git/commitdiff
Another regcode fix.
authorRyan C. Gordon <icculus@icculus.org>
Sun, 8 Nov 2009 05:38:40 +0000 (00:38 -0500)
committerRyan C. Gordon <icculus@icculus.org>
Sun, 8 Nov 2009 05:38:40 +0000 (00:38 -0500)
Source/GameTick.cpp

index 790ddc375918bd19ccc6cfdcc9a451a61e8829c4..c92bcf9a1b65358549da7a6d06e2a0be11fe6e09 100644 (file)
@@ -3174,7 +3174,13 @@ void     Game::Tick()
                                                        if(displaychars[0]){
                                                                char serialstring[256];
                                                                char tempstring[256];
+                                                               #if defined(__APPLE__)
+                                                               sprintf (tempstring, "%s", registrationname);
+                                                               #elif defined(_MSC_VER) || defined(__linux__)
                                                                sprintf (tempstring, "%s-windows", registrationname);
+                                                               #else
+                                                               #error Please make sure you have the right registration key stuff here!
+                                                               #endif
                                                                long num1;
                                                                long num2;
                                                                long num3;