aboutsummaryrefslogtreecommitdiff
path: root/core
diff options
context:
space:
mode:
authorArtem Varaksa2018-02-17 16:00:39 +0300
committerHein-Pieter van Braam2018-02-22 12:22:41 +0100
commiteacd66e78431354d0cce21e07c791aeb2206cef6 (patch)
treecd2b0479313452fab6bd4c184280b4b369db355c /core
parentb5f8c1a53b30c459a5fe9ce649b3293a68c99407 (diff)
downloadgodot-eacd66e78431354d0cce21e07c791aeb2206cef6.tar.gz
godot-eacd66e78431354d0cce21e07c791aeb2206cef6.tar.zst
godot-eacd66e78431354d0cce21e07c791aeb2206cef6.zip
Clean up some bad words from code comments
(cherry picked from commit d35e48622800f6686dbdfba380e25170005dcc2b)
Diffstat (limited to 'core')
-rw-r--r--core/io/file_access_network.cpp2
-rw-r--r--core/io/resource_format_binary.cpp2
2 files changed, 1 insertions, 3 deletions
diff --git a/core/io/file_access_network.cpp b/core/io/file_access_network.cpp
index ef886cdb3..21e3a4172 100644
--- a/core/io/file_access_network.cpp
+++ b/core/io/file_access_network.cpp
@@ -418,8 +418,6 @@ int FileAccessNetwork::get_buffer(uint8_t *p_dst, int p_length) const {
if (page != last_page) {
buffer_mutex->lock();
if (pages[page].buffer.empty()) {
- //fuck
-
waiting_on_page = page;
for (int j = 0; j < read_ahead; j++) {
diff --git a/core/io/resource_format_binary.cpp b/core/io/resource_format_binary.cpp
index 15c4835dc..5dfe06790 100644
--- a/core/io/resource_format_binary.cpp
+++ b/core/io/resource_format_binary.cpp
@@ -1124,7 +1124,7 @@ Error ResourceFormatLoaderBinary::rename_dependencies(const String &p_path, cons
DirAccess *da = DirAccess::create(DirAccess::ACCESS_FILESYSTEM);
da->remove(p_path + ".depren");
memdelete(da);
- //fuck it, use the old approach;
+ //use the old approach
WARN_PRINT(("This file is old, so it can't refactor dependencies, opening and resaving: " + p_path).utf8().get_data());