]> git.localhorst.tv Git - l2e.git/blobdiff - src/main.cpp
randomized monsters' attack target selection
[l2e.git] / src / main.cpp
index cf6e78bbf6c9596235b82ecc5d18001881c68bb6..71a29e58292b0f889661cd691db808d250226d19 100644 (file)
@@ -30,6 +30,8 @@
 #include "sdl/InitScreen.h"
 #include "sdl/InitSDL.h"
 
+#include <cstdlib>
+#include <ctime>
 #include <exception>
 #include <iostream>
 #include <SDL.h>
@@ -70,6 +72,8 @@ int main(int argc, char **argv) {
 
        const int framerate = 33;
 
+//     std::srand(std::time(0));
+
        try {
                InitSDL sdl;
                InitImage image(IMG_INIT_PNG);